/* Toast 样式 */
.vue-sonner {
  position: fixed;
  z-index: 100;
  top: 16px;
  right: 16px;
  max-width: 560px;
  width: 100%;
  pointer-events: none;
}

.vue-sonner-toast {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 12px 16px;
  margin-bottom: 8px;
  pointer-events: auto;
  animation: vue-sonner-fade-in 0.3s ease;
}

.vue-sonner-toast-title {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.vue-sonner-toast-description {
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  color: rgba(0, 0, 0, 0.65);
}

.vue-sonner-toast-success {
  border-left: 4px solid #10b981;
}

.vue-sonner-toast-error {
  border-left: 4px solid #ef4444;
}

.vue-sonner-toast-info {
  border-left: 4px solid #3b82f6;
}

.vue-sonner-toast-warning {
  border-left: 4px solid #f59e0b;
}

@keyframes vue-sonner-fade-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 暗色主题 */
.dark .vue-sonner-toast {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.dark .vue-sonner-toast-description {
  color: rgba(255, 255, 255, 0.65);
}
